getViewHorizontalDragRange

open fun getViewHorizontalDragRange(@NonNull child: @NonNull View): Int(source)

Return the magnitude of a draggable child view's horizontal range of motion in pixels. This method should return 0 for views that cannot move horizontally.

Return

range of horizontal motion in pixels

Parameters

child

Child view to check